<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title> <link rel="stylesheet" href="../03_layout/CSS/reset.css">
    <style>
        body{
            background-color: blanchedalmond;
        }

        /* 设置ul的样式 */
    .img-list{
        /* 设置ul的宽度 */
        width: 190px;
        /* 设置ul的高度 */
        height: 470px;
        /* 裁剪溢出的内容 */
        overflow: hidden;
        margin: 50px auto;
        background-color: #F4F4F4;
    }
    /* 设置li的位置 */
    .img-list li:not(:last-child){
        margin-bottom: 9px;
    }
    /* 设置图片的大小 */
    .img-list img{
        width: 100%;
        height: 150px;
     
    }
    </style>

</head>
<body>
<ul class="img-list">
    <li>
        <a href="javascript:;">
            <img src="./img/01.jpg" alt=""></a>

    </li>
    <li>
        <a href="javascript:;"> 
            <img src="img/02.jpg" alt=""></a>

    </li>
    <li>
        <a href="javascript:;">
            <img src="./img/03.jpg" alt=""></a>

    </li>
</ul>
    
</body>
</html>